<%@include file="../import.jsp" %>
<html>
<head>
<%@include file="../meta.jsp" %>
<%@include file="../script.jsp" %>
<title>文件列表</title>
</head>
<body>
<h2>文件列表</h2>
<input type="button" value="跳转" onclick="javascript:location='fileupload/fileshow.jhtm'">
<c:set var="result" value="${requestScope.result}"></c:set>
<c:set var="list" value="${result.resultList}"></c:set>
<p>
<c:forEach var="filegroup" items="${list}" varStatus="n">
${n.index+1}__${filegroup.filegroupId }__${filegroup.name }__${filegroup.timeflag }<br/>
</c:forEach>
</p>

<p>
<c:set var="thisPage" value="${result.thisPage}"/>
<c:if test="${thisPage > 1}">
	<a href="fileList.jhtm?page=${thisPage-1 }">上一页</a>
</c:if>
 <c:forEach var="page" begin="1" end="${result.totalPage}" step="1">
 	&nbsp;
	<c:choose>
		<c:when test="${thisPage != page }">
			<a href="fileList.jhtm?page=${page }">${page }</a>
		</c:when>
		<c:otherwise>
			${page }
		</c:otherwise>
	</c:choose>
	&nbsp;
</c:forEach>
 <c:if test="${thisPage < result.totalPage}">
	<a href="fileList.jhtm?page=${thisPage+1 }">下一页</a>
</c:if>
</p>
</body>
</html>